﻿<%@ Page Language="C#" MasterPageFile="../main.master" AutoEventWireup="true" CodeFile="member_create.aspx.cs" Inherits="vboard_manager_membership_create" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPlaceHolder" Runat="Server">
	<h2>회원 &gt; 새로 만들기</h2>

	<fieldset>
		<div class="Field">
			<div class="FieldName">아이디</div>
			<div class="FieldValue">
				<asp:TextBox ID="UserNameTextBox" runat="server" />
				<asp:RequiredFieldValidator ID="UserNameTextBoxRequiredFieldValidator" 
					runat="server" ControlToValidate="UserNameTextBox" 
					ErrorMessage="&lt;strong&gt;[아이디]&lt;/strong&gt;를 입력하세요."
					Display="Dynamic"></asp:RequiredFieldValidator>
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<div class="FieldName">암호</div>
			<div class="FieldValue">
				<asp:TextBox ID="PasswordTextBox" runat="server" />
				<asp:RequiredFieldValidator ID="PasswordTextBoxRequiredFieldValidator" 
					runat="server" ControlToValidate="PasswordTextBox" 
					ErrorMessage="&lt;strong&gt;[암호]&lt;/strong&gt;를 입력하세요."
					Display="Dynamic"></asp:RequiredFieldValidator>
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<div class="FieldName">전자 메일</div>
			<div class="FieldValue">
				<asp:TextBox ID="EmailTextBox" runat="server" />
				<asp:RequiredFieldValidator ID="EmailTextBoxRequiredFieldValidator" 
					runat="server" ControlToValidate="EmailTextBox" 
					ErrorMessage="&lt;strong&gt;[전자 메일]&lt;/strong&gt;을 입력하세요."
					Display="Dynamic"></asp:RequiredFieldValidator>
				<asp:RegularExpressionValidator ID="EmailTextBoxRegularExpressionValidator" 
					runat="server" ControlToValidate="EmailTextBox" Display="Dynamic" 
					ErrorMessage="&lt;strong&gt;[전자 메일]&lt;/strong&gt; 형식을 확인해 주세요." 
					ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<div class="FieldName">보안 질문</div>
			<div class="FieldValue">
				<asp:DropDownList ID="PasswordQuestionDropDownList" runat="server">
				</asp:DropDownList>
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<div class="FieldName">보안 답변</div>
			<div class="FieldValue">
				<asp:TextBox ID="PasswordAnswerTextBox" runat="server" />
				<asp:RequiredFieldValidator ID="PasswordAnswerTextBoxRequiredFieldValidator" 
					runat="server" ControlToValidate="PasswordAnswerTextBox" 
					ErrorMessage="&lt;strong&gt;[보안 답변]&lt;/strong&gt;을 입력하세요."
					Display="Dynamic"></asp:RequiredFieldValidator>
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<div class="FieldName">활성</div>
			<div class="FieldValue">
				<asp:CheckBox ID="IsApprovedCheckBox" runat="server" Checked="true" />
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<div class="FieldName">역할</div>
			<div class="FieldValue">
				<asp:CheckBoxList ID="RoleCheckBoxList" runat="server">
				</asp:CheckBoxList>
			</div>
			<div class="Clear"></div>
		</div>
		<div class="Field">
			<asp:Button ID="CreateUserButton" runat="server" Text="확인" onclick="CreateUserButton_Click" />
		</div>
	</fieldset>
</asp:Content>